package com.soft.line.service;

import com.github.pagehelper.PageInfo;
import com.soft.line.entity.CertificateInfo;

import java.util.List;
import java.util.Map;

/**
 * @author wu.xueqiao on 2020/5/8.
 * @version 0.1
 */

public interface CertificateInfoService {

    public List<CertificateInfo> getPersonalAll(String userName);

    public PageInfo<CertificateInfo> getAllCompanyCertificates(final Map<String,Object> map);

    public PageInfo<CertificateInfo> getAllCertificates(final Map<String,Object> map);

    public void delete(final Map<String,Object> map);

    public void add(final CertificateInfo certificateInfo);

    public void insertRecord(List<CertificateInfo> list);

    public void update(final CertificateInfo certificateInfo);

    public int countByCId(Integer id,String cId);

    public List<CertificateInfo> getAllByIDList(Map<String,Object> map);
}
